package com.stone.framework.basic.dict.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.stone.framework.message.basic.dict.DictCategoryPageReqBody;
import com.stone.framework.message.basic.dict.DictCategoryPageResBody;
import com.stone.framework.message.basic.dict.DictCategoryReqBody;

public interface DictCategoryService {

    Page<DictCategoryPageResBody> queryPage(DictCategoryPageReqBody reqBody, Pageable pageable);

    void save(DictCategoryReqBody reqBody);

    void modify(DictCategoryReqBody reqBody);

    void delete(DictCategoryReqBody reqBody);

    void refreshCache();

    void refreshCache(String code);

}
